package com.luoxue.execsql.rest.config;

import com.luoxue.execsql.rest.bean.mapper.SqlMapperBean;
import org.apache.ibatis.session.SqlSession;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class SqlMapperConfig {

    @Bean
    public SqlMapperBean sqlMapper(SqlSession sqlSession) {
        return new SqlMapperBean(sqlSession);
    }
}
